/**
 * Created by yangjiao on 2019/7/1.
 */
export default [
    {
      path: '/index/config/accountConfig',
      component: () => import(/* webpackChunkName: "group-newaccount" */ '@/components/business-modules/merchantConfig/account/index.vue').then(m => m.default),
      meta: {
        title: 'accountConfig'
      },
      children: [
        {
          path: '',
          component: () => import(/* webpackChunkName: "group-newaccount" */ '@/components/business-modules/config/accountConfig/base/index.vue').then(m => m.default),
          meta: {
            title: 'accountConfig'
          }
        },
        {
          path: '/index/config/accountConfig/base',
          component: () => import(/* webpackChunkName: "group-newaccount" */ '@/components/business-modules/config/accountConfig/base/index.vue').then(m => m.default),
          meta: {
            title: 'accountConfig'
          }
        }
      ]
    },
    {
      path: '/index/config/operateLogManage',
      name: 'operateLogManage',
      component: () => import(/* webpackChunkName: "group-newOther" */ '@/components/business-modules/config/operateLogManage/index.vue').then(m => m.default),
      meta: {
        title: 'operateLogManage'
      }
    },
    {
      path: '/index/config/safetyConfig',
      component: () => import(/* webpackChunkName: "group-newOther" */ '@/components/business-modules/config/safetyConfig/SafetyConfig.vue').then(m => m.default),
      meta: {
        title: 'safetyConfig'
      }
    },
    {
      path: '/index/config/noticeConfig',
      component: () => import(/* webpackChunkName: "group-newOther" */ '@/components/business-modules/config/noticeConfig/noticeConfig.vue').then(m => m.default),
      meta: {
        title: 'noticeConfig'
      }
    },
    {
      path: '/index/config/appAccess',
      component: () => import(/* webpackChunkName: "group-newwebchataccess" */ '@/components/business-modules/config/channelConfig/AppCustomerDirectory/AppAccountManage.vue').then(m => m.default),
      meta: {
        title: 'appAccess'
      }
    },
    {
      path: '/index/config/weixinAppAccess',
      component: () => import(/* webpackChunkName: "group-newwebchataccess" */ '@/components/business-modules/config/channelConfig/weixinApp/webChatAppManage.vue').then(m => m.default),
      meta: {
        title: 'weixinAppAccess'
      }
    },
    {
      path: '/index/config/weixinAccess',
      component: () => import(/* webpackChunkName: "group-newwebchataccess" */ '@/components/business-modules/config/channelConfig/weixin/weChatManage.vue').then(m => m.default),
      meta: {
        title: 'weixinAccess'
      }
    },
    {
      path: '/index/config/wxkfAccess',
      component: () => import(/* webpackChunkName: "group-newwebchataccess" */ '@/components/business-modules/config/channelConfig/weChatOfficial/index.vue').then(m => m.default),
      meta: {
        title: 'wxkfAccess'
      }
    },
    {
      path: '/index/config/webCustomerService',
      component: () => import(/* webpackChunkName: "group-newwebchataccess" */ '@/components/business-modules/merchantConfig/webOnlineServe/index.vue').then(m => m.default),
      meta: {
        title: 'webCustomerService'
      }
    },
    {
      path: '/index/config/weiboAccess',
      component: () => import(/* webpackChunkName: "group-newwebchataccess" */ '@/components/business-modules/config/channelConfig/weibo/WeiboBinding.vue').then(m => m.default),
      meta: {
        title: 'weiboAccess'
      }
    },
    {
      path: '/index/config/satisfied',
      component: () => import(/* webpackChunkName: "group-newwebchatservice" */ '@/components/business-modules/config/channelConfig/webchatGlobalConfig/satisfied.vue').then(m => m.default),
      meta: {
        title: 'satisfied'
      }
    },
    {
      path: '/index/config/webchatEndSession',
      component: () => import(/* webpackChunkName: "group-newwebchatservice" */ '@/components/business-modules/merchantConfig/webchatEndSession/index.vue').then(m => m.default),
      meta: {
        title: 'webchatEndSession'
      }
    },
    {
      path: '/index/config/quickReplyMain',
      component: () => import(/* webpackChunkName: "quickReplyMain" */ '@/components/business-modules/config/channelConfig/webchatGlobalConfig/quickReplyMain.vue').then(m => m.default),
      meta: {
        title: 'quickReplyMain'
      }
    },
    {
      path: '/index/config/forbiddenChatCue',
      component: () => import(/* webpackChunkName: "group-newwebchatservice" */ '@/components/business-modules/config/channelConfig/webchatGlobalConfig/forbiddenChatCue.vue').then(m => m.default),
      meta: {
        title: '禁止咨询设置'
      }
    },
    {
      path: '/index/config/onlineVisitorConfig',
      component: () => import(/* webpackChunkName: "group-newwebchatservice" */ '@/components/business-modules/merchantConfig/onlineVisitorConfig/index.vue').then(m => m.default),
      meta: {
        title: '在线咨询访客端设置'
      }
    },
  {
    path: '/index/config/onlineAgentConfig',
    component: () => import(/* webpackChunkName: "group-newwebchatservice" */ '@/components/business-modules/merchantConfig/onlineAgentConfig/index.vue').then(m => m.default),
    meta: {
      title: '在线咨询座席端设置'
    }
  },
  {
    path: '/index/config/webchatStatus',
    component: () => import(/* webpackChunkName: "group-newwebchatservice" */ '@/components/business-modules/config/channelConfig/webchatGlobalConfig/webStatusConfig.vue').then(m => m.default),
    meta: {
      title: '在线咨询自定义状态设置'
    }
  },
    {
      path: '/index/config/deptAndAgentConfig',
      component: () => import(/* webpackChunkName: "group-other" */ '@/components/business-modules/merchantConfig/agentNewConfig/AgentConfig.vue').then(m => m.default),
      meta: {
        title: 'agentConfig'
      }
    },
    {
      path: '/index/config/blackList',
      component: () => import(/* webpackChunkName: "group-newwebchatservice" */ '@/components/business-modules/config/channelConfig/webchatGlobalConfig/blackList.vue').then(m => m.default),
      meta: {
        title: 'blackList'
      }
    },
    {
      path: '/index/config/webchatQueueConfig',
      component: () => import(/* webpackChunkName: "group-newOther" */ '@/components/business-modules/merchantConfig/internetChannelSkillGroup/index.vue').then(m => m.default),
      meta: {
        title: 'queueConfig'
      }
		},
		/* 对接部分路由start */
    {
			path: '/index/config/interfaceConfig/indexUrl',
			component: () => import(/* webpackChunkName: "group-other" */ '@/components/business-modules/config/interfaceConfig/indexUrl').then(m => m.default),
			meta: {
					title: '对接设置'
			}
		},
		{
			path: '/index/config/interfaceConfig/tabUrl',
			component: () => import(/* webpackChunkName: "group-other" */ '@/components/business-modules/config/interfaceConfig/tabUrl').then(m => m.default),
			meta: {
					title: '对接设置'
			}
		},
		{
			path: '/index/config/interfaceConfig/allUrlConfig',
			component: () => import(/* webpackChunkName: "group-other" */ '@/components/business-modules/config/interfaceConfig/allUrlConfig').then(m => m.default),
			meta: {
					title: '对接设置'
			}
		},
		/*  对接部分路由end*/
		/* 客户部分路由start */
		{
			path: '/index/config/customerConfig/modal',
			component: () => import(/* webpackChunkName: "group-customer" */ '@/components/business-modules/config/customerConfig/modal/index.vue').then(m => m.default),
			meta: {
				title: 'customerConfig'
			}
		},
		{
			path: '/index/config/customerConfig/import',
			redirect: '/index/config/customerConfig/import/addCustomerTemplate',
			component: () => import(/* webpackChunkName: "group-customer" */ '@/components/business-modules/config/customerConfig/Import/index.vue').then(m => m.default),
			meta: {
				title: 'customerConfig'
			},
			children: [
				{
					path: '/index/config/customerConfig/import/addCustomerTemplate',
					component: () => import(/* webpackChunkName: "group-customer" */ '@/components/business-modules/config/customerConfig/Import/customerImportAddTemplate.vue').then(m => m.default),
					meta: {
						title: 'customerConfig'
					}
				},
				{
					path: '/index/config/customerConfig/import/detail/:index',
					component: () => import(/* webpackChunkName: "group-customer" */ '@/components/business-modules/config/customerConfig/Import/customerImportDetail.vue').then(m => m.default),
					meta: {
						title: 'customerConfig'
					}
				}
			]
    },
    /* 客户部分end */
    /* 字典 */
		{
			path: '/index/config/dicConfig',
      component: () => import(/* webpackChunkName: "group-other" */ '@/components/business-modules/newConfig/businessConfig/flowConfig/dicConfig.vue').then(m => m.default),
      props: { autoInit: true },
      meta: {
				title: 'dicConfig'
			}
    },
    /* 角色设置*/
    {
      path: '/index/config/roleConfig',
      name: 'roleConfig',
      component: () => import(/* webpackChunkName: "group-other" */ '@/components/business-modules/config/roleConfig/index.vue').then(m => m.default),
      meta: {
        title: 'roleConfig'
      }
    },
    {
      path: '/index/config/callMain',
      component: () => import(/* webpackChunkName: "group-newCall" */ '@/components/business-modules/newConfig/callCenter/index.vue').then(m => m.default),
      meta: {
        title: '座席管理'
      },
      children: [
        {
          path: '/index/config/agentCallManage',
          component: () => import(/* webpackChunkName: "group-newCall" */ '@/components/business-modules/newConfig/callCenter/agentCallManage.vue').then(m => m.default),
          meta: {
            title: '座席管理'
          }
        }
      ]
    }
  ]
